Blog

ColdBox Unit Testing your Event Handlers!!

Luis Majano October 15, 2008

Spread the word

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

With the advent of ColdBox 2.0.1 you are now able to unit test your event handlers, plugins, etc. I just completed a step by step guide on how to do this with the provided source in the bundle. Another interesting note is that the ColdBox Dashboard generates applications for you and yes, it also generates the unit tests for it. Unit Testing Handlers Guide So click on the link above to start unit testing your handlers.

Add Your Comment

(2)

Jun 01, 2007 17:59:02 UTC

by Adam Fortuna

This is extremely cool Luis. Brian was mentioning it the other day and sounds like a great step. Good work man!

May 15, 2019 13:43:00 UTC

by René Hochstrasser

Link does not work.

Recent Entries

Building Native CLI Apps with MatchBox & Native Fusion

Building Native CLI Apps with MatchBox & Native Fusion

MatchBox makes BoxLang practical for a classic deployment target: the single-file command-line application.

The MatchBox open beta is available at https://github.com/ortus-boxlang/matchbox.

With the MatchBox native target, you can compile a .bxs script into a standalone executable for macOS, Linux, or Windows. The generated binary includes the MatchBox VM core and your compiled BoxLang bytecode. It does not require a JVM, a separate MatchBox install, or any runtime on the target machine.

Jacob Beers
Jacob Beers
July 14, 2026